import request from '@/utils/request'

// 获取列表
export function getOrderIndex(params) {
  return request({
    url: '/manage/pay/orderIndex',
    method: 'get',
    params
  })
}

export function rechargeCoin(data) {
  return request({
    url: '/manage/pay/rechargeCoin',
    method: 'post',
    data
  })
}

// 充值记录
export function rechargeIndex(params) {
  return request({
    url: '/manage/pay/rechargeIndex',
    method: 'get',
    params
  })
}

// 导出
export function orderIndexExport(data) {
  return request({
    url: '/manage/pay/orderIndexExport',
    method: 'post',
    data
  })
}

// 充值记录导出
export function rechargeIndexExport(data) {
  return request({
    url: '/manage/pay/rechargeIndexExport',
    method: 'post',
    data
  })
}

